package com.imooc.diveinspringboot.beans;

import lombok.extern.slf4j.Slf4j;

/**
 * @author chmy
 * @version 1.0
 * @date 2019-04-03
 * @since 1.0
 */
@Slf4j
public class MyTestBean {
    private String testStr = "testStr";

    public String getTestStr() {
        return testStr;
    }

    public void setTestStr(String testStr) {
        this.testStr = testStr;
    }

    public void init() {
        log.info(this.getClass().getName() + ".init()");
    }

    public void destroy() {
        log.info(this.getClass().getName() + ".destroy()");
    }
}
